/**
 * Copyright (c) 2015-2030 by Beijing Yanlight Co., Ltd.
 * All rights reserved.
 */
package com.yanlight.app.dal.dao;

import java.util.List;

import com.yanlight.app.dal.dto.OrderPayment;
import com.yanlight.app.dal.entity.Order;

/**
 * 
 * @author haolw
 * @time 2017/10/16
 */
public interface OrderDAO {

	Order findBySn(String sn);

	Order findByOutTradeNo(String outTradeNo);

	List<Order> findDevNotifys();

	void save(Order order);

	void updatePayment(OrderPayment order);

	void updateMchId(Integer id, String mchId);

	void updateNotifyStatus(String outTradeNo, Integer status);

}
